<template>
  <!-- 首页新老访客组件 -->
  <div class="grid-content bg-purple" @dblclick="toNew_visitor">
    <div class="top-title">新访客</div>
    <div class="visitor">
      <div class="text">新访客占比</div>
      <div class="rate">{{ newVisitorsPercentage }}%</div>
    </div>
    <div class="visitor-row">
      <div class="visit-item">
        <div class="main-label">浏览量</div>
        <div class="Data">{{ numbersView }}</div>
      </div>
      <div class="visit-item">
        <div class="main-label">访客数</div>
        <div class="Data">{{ numbersVisitors }}</div>
      </div>
      <div class="visit-item">
        <div class="main-label">跳出率</div>
        <div class="Data">{{ heartRate }}%</div>
      </div>
    </div>

    <div class="visit">
      <div class="main-label">平均访问时长</div>
      <div class="Data">{{ averageAccessTime }}</div>
    </div>
    <div class="visit" style="margin-top: 55px">
      <div class="main-label">平均访问页数</div>
      <div class="Data">{{ averageAccessPage }}</div>
    </div>
  </div>
</template>

<script>
export default {
  components: {},
  props: {},
  data() {
    return {};
  },
  watch: {},
  computed: {},
  methods: {},
  created() {},
  mounted() {},
};
</script>
<style lang="less" scoped></style>
